package com.chaodev.base.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel("按钮信息")
public class Button {
    @ApiModelProperty("按钮id")
    private String buttonId;
    @ApiModelProperty("按钮名称")
    private String buttonName;
    @ApiModelProperty("排序ID")
    private String orderId;
    @ApiModelProperty("创建人工号")
    private String createUser;
    @ApiModelProperty("创建时间")
    private String createTime;
    @ApiModelProperty("菜单id")
    private String menuId;
    @ApiModelProperty("按钮备注")
    private String buttonDsc;
    @ApiModelProperty("按钮类型ID")
    private String btId;
    @ApiModelProperty("按钮类型名称")
    private String btName;
    @ApiModelProperty("按钮状态")
    private String buttonStatus;

    public String getButtonStatus() {
        return buttonStatus;
    }

    public void setButtonStatus(String buttonStatus) {
        this.buttonStatus = buttonStatus;
    }

    public String getBtName() {
        return btName;
    }

    public void setBtName(String btName) {
        this.btName = btName;
    }

    public String getBtId() {
        return btId;
    }

    public void setBtId(String btId) {
        if (null == btId || "".equals(btId)) {
            this.btId = "";
        } else {
            this.btId = btId;
        }
    }

    public String getButtonId() {
        return buttonId;
    }

    public void setButtonId(String buttonId) {
        if (null == buttonId || "".equals(buttonId)) {
            this.buttonId = "";
        } else {
            this.buttonId = buttonId;
        }
    }

    public String getButtonName() {
        return buttonName;
    }

    public void setButtonName(String buttonName) {
        if (null == buttonName || "".equals(buttonName)) {
            this.buttonName = "";
        } else {
            this.buttonName = buttonName;
        }
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        if (null == orderId || "".equals(orderId)) {
            this.orderId = "";
        } else {
            this.orderId = orderId;
        }
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        if (null == createUser || "".equals(createUser)) {
            this.createUser = "";
        } else {
            this.createUser = createUser;
        }
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        if (null == createTime || "".equals(createTime)) {
            this.createTime = "";
        } else {
            this.createTime = createTime;
        }
    }

    public String getMenuId() {
        return menuId;
    }

    public void setMenuId(String menuId) {
        if (null == menuId || "".equals(menuId)) {
            this.menuId = "";
        } else {
            this.menuId = menuId;
        }
    }

    public String getButtonDsc() {
        return buttonDsc;
    }

    public void setButtonDsc(String buttonDsc) {
        if (null == buttonDsc || "".equals(buttonDsc)) {
            this.buttonDsc = "";
        } else {
            this.buttonDsc = buttonDsc;
        }
    }

    @Override
    public String toString() {
        return "Button{" +
                "buttonId='" + buttonId + '\'' +
                ", buttonName='" + buttonName + '\'' +
                ", orderId='" + orderId + '\'' +
                ", createUser='" + createUser + '\'' +
                ", createTime='" + createTime + '\'' +
                ", menuId='" + menuId + '\'' +
                ", buttonDsc='" + buttonDsc + '\'' +
                ", btId='" + btId + '\'' +
                ", btName='" + btName + '\'' +
                ", buttonStatus='" + buttonStatus + '\'' +
                '}';
    }
}
